package com.example.tool.erp.sdk.api.goods.dto;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GoodsClassSearchResponse
{

	@SerializedName("total_count") private Integer total;
	@SerializedName("order_list") private List<Order> orderList;

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}

	public List<Order> getOrderList()
	{
		return orderList;
	}

	public void setOrderList(List<Order> orderList)
	{
		this.orderList = orderList;
	}

	public static class Order
	{
		@SerializedName("path") private String path;
		@SerializedName("parent_id") private Integer parentId;
		@SerializedName("created") private String created;
		@SerializedName("class_id") private Integer classId;
		@SerializedName("modified") private String modified;
		@SerializedName("is_leaf") private Boolean isLeaf;
		@SerializedName("class_name") private String className;

		public String getPath()
		{
			return path;
		}

		public void setPath(String path)
		{
			this.path = path;
		}

		public Integer getParentId()
		{
			return parentId;
		}

		public void setParentId(Integer parentId)
		{
			this.parentId = parentId;
		}

		public String getCreated()
		{
			return created;
		}

		public void setCreated(String created)
		{
			this.created = created;
		}

		public Integer getClassId()
		{
			return classId;
		}

		public void setClassId(Integer classId)
		{
			this.classId = classId;
		}

		public String getModified()
		{
			return modified;
		}

		public void setModified(String modified)
		{
			this.modified = modified;
		}

		public Boolean getIsLeaf()
		{
			return isLeaf;
		}

		public void setIsLeaf(Boolean isLeaf)
		{
			this.isLeaf = isLeaf;
		}

		public String getClassName()
		{
			return className;
		}

		public void setClassName(String className)
		{
			this.className = className;
		}
	}
}
